package edu.ustb.mis.dm.model;

import edu.ustb.mis.excel.annotation.Excel;

/**
 * TODO saya 2011-5-24 Describe type and functionality
 * 
 * <pre>
 * Usage Example
 * TODO saya 2011-5-24 Create usage example, or remove this
 * </pre>
 * 
 * @author saya 2011-5-24
 */
public class ResultModel {
	@Excel(exportName = "阈值")
	private double b;
	@Excel(exportName = "平均类别数")
	private double types;
	@Excel(exportName = "平均正确数")
	private double correctNum;

	@Excel(exportName = "总数")
	private int allNum;

	@Excel(exportName = "平均正确率")
	private double accuracy;

	public ResultModel(final Double b,final Double correctNum, final Integer allNum,double accuracy,double types) {
		this.b=b;
		this.correctNum = correctNum;
		this.allNum = allNum;
		this.accuracy = accuracy;
		this.types = types;
	}
	

	public double getTypes() {
		return types;
	}

	public void setTypes(double types) {
		this.types = types;
	}

	public double getB() {
		return b;
	}

	public void setB(double b) {
		this.b = b;
	}

	public double getCorrectNum() {
		return correctNum;
	}

	public void setCorrectNum(double correctNum) {
		this.correctNum = correctNum;
	}

	public int getAllNum() {
		return allNum;
	}

	public void setAllNum(int allNum) {
		this.allNum = allNum;
	}

	public double getAccuracy() {
		return accuracy;
	}

	public void setAccuracy(double accuracy) {
		this.accuracy = accuracy;
	}

	
}
